#!/usr/bin/env python
# -*- coding: utf-8 -*-
_user = "slong"
_passwd = "123456"
for i in range(3):
    username = input("username:")
    password = input("password:")
    if username == _user and password == _passwd:
        print("welcome %s login...." % _user)
        break
    else:
        print("invalid username or password !")
else:
    print("要不要脸，手流氓啊，小虎")

